package de.hft.st.algodat.ctt.model;

public class Room {
	private String id;
	private int size;
	private int building;

	protected Room(String id, int size, int building) {
		this.id = id;
		this.size = size;
		this.building = building;
	}

	public String toString() {
		StringBuffer toStr = new StringBuffer();
		toStr.append("Room ID   |Size      |Building  |\n");
		toStr.append(String.format("%-10s|", id));
		toStr.append(String.format("%-10s|", size));
		toStr.append(String.format("%-10s|\n", building));
		return toStr.toString();
	}

	public String getId() {
		return id;
	}

	protected int getSize() {
		return size;
	}

	protected int getBuilding() {
		return building;
	}
}
